<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>门诊挂号</title>
</head>
<body>
	<div class="easyui-layout" data-options="fit:true">
		<!-- 科室列表 -->
	    <div data-options="region:'west',title:'科室列表',split:true" style="width:160px;min-height:400px ">
	    	<div class="easyui-accordion" data-options="fit:true">
	    		<c:forEach var="big" items="${office.list}">
	    			<div data-options="title: '${big.big_name }'">
	    				<ul class="m">
	    			<c:forEach var="small" items="${big.smallOffices}">
	    					<li><a onclick="select_small_office(${small.smallOfficeId },'${small.name }')" text="${small.name }" class="link easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'"></a></li>
	    			</c:forEach>
	    				</ul>
	    			</div>
	    		</c:forEach> 
	    	</div>
	    </div>
	    <div data-options="region:'center',border:false">
	    	<div class="easyui-panel"  data-options="border:false,fit:true" >
	    		<div id="select_doctor_date" class="easyui-tabs" 
	    			data-options="onSelect:select_riqi" border="false"  >
	    			<c:forEach var="riqi" items="${ office.date}">
	    				<div title="${riqi }"></div>
	    			</c:forEach>
	    		</div>
	    		<div id="select_doctor_classes" class="easyui-tabs" border="false" 
	    			data-options="onSelect:select_banci" style="width:100%;" >
	    			<div title="上午"></div>
	    			<div title="下午"></div></div>
		    	<div id="menzhen_select_doctor"  class="easyui-panel" style="height:88.5%"
		    		data-option="border:false,fit:true" href="to_doctor_select"></div></div>
    	</div> 
    </div>  	
</body>
</html>